package com.yilin.tms.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yilin.tms.core.entity.message.SmsRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 短信记录Mapper
 *
 * @author zhangjinyuan
 * @date 2022/10/26
 */
@Mapper
@Repository
public interface SmsRecordMapper extends BaseMapper<SmsRecord> {

    /**
     * 根据日期删除消息记录(真实)
     */
    void deleteByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
